/*
 * activation.h
 *
 *  Created on: Sep 4, 2013
 *      Author: Alan
 */

#ifndef ACTIVATION_H_
#define ACTIVATION_H_
#include "types.h"

struct netdata;

//activation functions
float32 activationSigmoid(struct netdata* , float32 a);
float32 activationTanh(struct netdata* , float32 a);
float32 activationLinear(struct netdata*, float32 a);
float32 activationSoftmax(struct netdata*,  float32 a);

//diff activation functions
float32 diffActivationSigmoid(struct netdata*,  float32 a);
float32 diffActivationTanh(struct netdata*,  float32 a);
float32 diffActivationLinear(struct netdata*,  float32 a);
float32 diffActivationSoftmax(struct netdata*,  float32 a);
#endif /* ACTIVATION_H_ */
